package com.xintai.system.domain.setother;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xintai.common.core.domain.entity.SysUser;
import com.xintai.common.annotation.Excel;
import com.xintai.common.core.domain.BaseEntity;

/**
 * 司机管理对象 erp_other
 *
 * @author xintai
 * @date 2021-01-18
 */
public class ErpOtherSiJi extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer otherId;

    /** 数值2 */
    @Excel(name = "数值2")
    private String otherValue1;

    /** 8: 司机管理 */
    private Long otherType;

    /** 维护人 */
    private Integer userId;

    @Excel(name = "维护人", targetAttr = "nickName", type = Excel.Type.EXPORT)
    private SysUser sysUser;

    /** 维护时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "维护时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date otherTime;

    public Integer getOtherId() {
        return otherId;
    }

    public void setOtherId(Integer otherId) {
        this.otherId = otherId;
    }

    public String getOtherValue1() {
        return otherValue1;
    }

    public void setOtherValue1(String otherValue1) {
        this.otherValue1 = otherValue1;
    }

    public Long getOtherType() {
        return otherType;
    }

    public void setOtherType(Long otherType) {
        this.otherType = otherType;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public Date getOtherTime() {
        return otherTime;
    }

    public void setOtherTime(Date otherTime) {
        this.otherTime = otherTime;
    }

    @Override
    public String toString() {
        return "ErpOtherSiJi{" +
                "otherId=" + otherId +
                ", otherValue1='" + otherValue1 + '\'' +
                ", otherType=" + otherType +
                ", userId=" + userId +
                ", sysUser=" + sysUser +
                ", otherTime=" + otherTime +
                '}';
    }
}
